<template>
  <div class="view-css">
    <markdown-render :content="content"></markdown-render>
  </div>
</template>

<script>
import fetchMd from '@/api/markdown'
import MarkdownRender from '@/components/markdown-render'
export default {
  components: { MarkdownRender },
  data() {
    return {
      content: null
    }
  },
  created() {
    fetchMd('css/index.md').then(({ data }) => {
      this.content = data
    })
  }
}
</script>
